home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / cp.man < prev    next >
Encoding:
Text File  |  1989-01-14  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. CP                        User Commands                        CP
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      cp - copy
  10.  
  11. SSYYNNOOPPSSIISS
  12.      ccpp [ --iipp ] file1 file2
  13.  
  14.      ccpp [ --iipprr ] file ... directory
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      _F_i_l_e_1 is copied onto _f_i_l_e_2.  By default, the mode and owner
  18.      of _f_i_l_e_2 are preserved if it already existed; otherwise the
  19.      mode of the source file modified by the current _u_m_a_s_k(2) is
  20.      used.  The --pp option causes _c_p to attempt to preserve
  21.      (duplicate) in its copies the modification times and modes
  22.      of the source files, ignoring the present _u_m_a_s_k.
  23.  
  24.      In the second form, one or more _f_i_l_e_s are copied into the
  25.      _d_i_r_e_c_t_o_r_y with their original file-names.
  26.  
  27.      _C_p refuses to copy a file onto itself.
  28.  
  29.      If the --ii option is specified, _c_p will prompt the user with
  30.      the name of the file whenever the copy will cause an old
  31.      file to be overwritten. An answer of 'y' will cause _c_p to
  32.      continue. Any other answer will prevent it from overwriting
  33.      the file.
  34.  
  35.      If the --rr option is specified and any of the source files
  36.      are directories, _c_p copies each subtree rooted at that name;
  37.      in this case the destination must be a directory.
  38.  
  39. SSEEEE AALLSSOO
  40.      cat(1), mv(1), rcp(1C)
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0               June 8, 1985                          1
  64.  
  65.  
  66.  
  67.